package com.emapp.lccode.bean;

import com.mylhyl.circledialog.callback.CircleItemLabel;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Author:YanshanZhang
 * E-mail:690810892@qq.com
 * Date: 2022/3/30 14:33
 * Desc:
 */
public class District implements CircleItemLabel , Serializable {
    String id;
    String name;
    String pid;
    String value;
    boolean isCheck=false;
    ArrayList<District> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public ArrayList<District> getChildren() {
        return children;
    }

    public void setChildren(ArrayList<District> children) {
        this.children = children;
    }

    @Override
    public String getItemLabel() {
        return name;
    }
}
